POV-Ray : Newsgroups : povray.binaries.animations : First post (~200k mpeg1) : Re: First post (~200k mpeg1) Server Time
19 Jul 2024 03:24:56 EDT (-0400)
  Re: First post (~200k mpeg1)  
From: Tim Nikias v2 0
Date: 11 Sep 2003 08:29:04
Message: <3f606a90@news.povray.org>
Hm. So you're actually using just a single point
for your particles, right? Not full fledged object
collision? (I'd guess so for a particle system, its
not intended as a pun).

Still, 1000 traces is a bit much, don't you think?
What I'm planning to do for my next system with
collision detection is to calculate the traces based
on distance travelled: every 0.1 POV-Units or such.
Slow moving particles don't require that many tests,
as long as I've got some variables to keep control
that a particle is lying on the floor and just won't
drop any further.
Faster particles do require more traces, because they
might easily pass through a wall from one frame to
the next. Speed-Based traces will do just that. On
my next particle system, I won't be doing loopable
animations, but the system should still be able to
reparse the simulation in case the render begins at
some frame in the middle of an animation.

Oh, and does your system handle particle-particle
interaction?

-- 
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de


> Thanks for the comments. Each particle has an initial angle/velocity and
the
> path is calculated using general projectile motion equations. For every
> 1000th of a frame trace() is used to see whether there is a collision with
> the ground and if so a new angle/velocity is calculated. I've only really
> played with a few particles at once, but parse times were around a second
> per frame (on athlon 1800+). No doubt if you reduced the number of calls
to
> trace to 100 per frame, things would be much faster. Hopefuly when I get
the
> thing finished it'll be able to model the motion of spheres bouncing off
any
> object types with proper friction/air resistence. If I am really keen
maybe
> not just spheres...then again maybe not :)
>
> From
> Michael B.
>
> "Tim Nikias v2.0" <no_lights (@) digitaltwilight.de> wrote in message
> news:3f605e80@news.povray.org...
> > Nice one. Bowling ball as reflective sphere, good
> > idea!
> >
> > How does you system work? How long are parsing
> > times for lots of particles, etc? And what will it later
> > be capable of (once its finished and all planned features
> > implemented)?
> >
> > --
> > Tim Nikias v2.0
> > Homepage: http://www.digitaltwilight.de/no_lights
> > Email: no_lights (@) digitaltwilight.de
> >
> >
> > > Just the beginnings of a little particle system, although nowhere near
> as
> > > advanced as some of the great ones out there already. I hope the
> checkered

> > >
> > >
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.515 / Virus Database: 313 - Release Date: 01.09.2003
> >
> >
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01.09.2003


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.